<!--
 * @Author: your name
 * @Date: 2020-12-29 18:04:31
 * @LastEditTime: 2020-12-29 18:59:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \basiccss\background\biaozhiwei.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>标识位</title>
    <style>
        body{
            padding: 10px;
        }
        /*渐变的长度*/
        /* div{ */
            /* height: 50px; */
            /* border: 1px solid #dddddd; */
            /* margin: auto; */
            /* background: linear-gradient(45deg,red 50%,blue 60%); */
            /*标识位相同的时候将没有过度效果*/
            /* background: linear-gradient(45deg,red 50%,blue 50%); */
        /* } */

        div{
            width: 400px;
            height: 40px;
            border: 1px solid #dddddd;
            margin: auto;
            /* background: radial-gradient(red 0,yellow 30%,blue 60%,black 100%); */
            background: linear-gradient(45deg,red,0%,blue);
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>
